package com.lonwin.inspectionmanagement.mvp.model.entity.bean;

/**
 * 开始和结束巡河调用金牛的接口返回的数据
 */
public class PatrolBean {

    /**
     * code : 0
     * info : 操作成功
     * debug : null
     * url : null
     * data : {"id":"1dc8122e99eb49b7bbce467a0259d8ef","xcid":"025401a46bfb47afb61d7c30799b879b","gpsid":"238702","gpsnm":"测试111","starttm":"2018-11-24 15:56:56.347","endtm":null,"km":null,"tm":null,"startaddr":"测试开始地址","endaddr":null}
     */

    private String code;
    private String info;

    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }


    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1dc8122e99eb49b7bbce467a0259d8ef
         * xcid : 025401a46bfb47afb61d7c30799b879b
         * gpsid : 238702
         * gpsnm : 测试111
         * starttm : 2018-11-24 15:56:56.347
         * endtm : null
         * km : null
         * tm : null
         * startaddr : 测试开始地址
         * endaddr : null
         */

        private String id;
        private String xcid;
        private String gpsid;
        private String gpsnm;
        private String starttm;
        private String endtm;
        private String km;
        private String tm;
        private String startaddr;
        private String endaddr;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getXcid() {
            return xcid;
        }

        public void setXcid(String xcid) {
            this.xcid = xcid;
        }

        public String getGpsid() {
            return gpsid;
        }

        public void setGpsid(String gpsid) {
            this.gpsid = gpsid;
        }

        public String getGpsnm() {
            return gpsnm;
        }

        public void setGpsnm(String gpsnm) {
            this.gpsnm = gpsnm;
        }

        public String getStarttm() {
            return starttm;
        }

        public void setStarttm(String starttm) {
            this.starttm = starttm;
        }

        public String getEndtm() {
            return endtm;
        }

        public void setEndtm(String endtm) {
            this.endtm = endtm;
        }

        public String getKm() {
            return km;
        }

        public void setKm(String km) {
            this.km = km;
        }

        public String getTm() {
            return tm;
        }

        public void setTm(String tm) {
            this.tm = tm;
        }

        public String getStartaddr() {
            return startaddr;
        }

        public void setStartaddr(String startaddr) {
            this.startaddr = startaddr;
        }

        public String getEndaddr() {
            return endaddr;
        }

        public void setEndaddr(String endaddr) {
            this.endaddr = endaddr;
        }
    }
}
